.swiper-container {
    //商品详情幻灯片比例
    @include ratio(10,4);
    .swiper-wrapper {
        width: 100%;
        height: 100%;
    }
    .swiper-pagination {
        position: absolute;
        top: calc(100% - 24px);
        height: 10px;
    }
    .swiper-slide {
        img {
            max-width: 100%;
            max-height: 100%;
            @extend %absmiddle;
        }
    }
    .swiper-pagination-bullet-active{
        background: $color-primary;
    }
}